package com.dut.bbs.util;

import android.app.AlertDialog;
import android.content.Context;
import android.widget.Toast;

public class Dg {
	public static void showDg(Context self,String message)
    {
        new AlertDialog.Builder(self) 
                    .setMessage(message)
                    .setPositiveButton("确定", null)
                    .show();
    }
	public static void showToast(Context self,String message){
		Toast.makeText(self, message, Toast.LENGTH_SHORT).show();
	}
}
